package com.citymanage.demo.service.manager;

import com.citymanage.demo.mapper.person.PersonMapper;
import com.citymanage.demo.po.person.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SelectPerson {
@Autowired
    private PersonMapper personMapper;
    public List<Person>findAll(){
        return personMapper.findAll();
    }
}
